<div style="text-align:left;">
<?
    if($msg_query->num_rows() > 0)
    {
        foreach($msg_query->result() as $row)
        {
            echo '<p>'.$row->content.'</p>';
            echo '<hr/>';
        }
    }else{
        echo 'No unread message.';
    }
?>
</div>